package com.ruoyi.mhrb.order.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 订单列对象 mhrb_order
 * 
 * @author jhrb
 * @date 2024-11-26
 */
public class MhrbOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单ID */
    private Long orderId;

    /** 订单编号 */
    @Excel(name = "订单编号")
    private String orderNum;

    /** 订单名称 */
    @Excel(name = "订单名称")
    private String orderName;

    /** 用户手机号 */
    @Excel(name = "用户手机号")
    private String orderPhone;

    /** 状态 */
    @Excel(name = "状态")
    private String orderStatus;

    /** 订单金额 */
    @Excel(name = "订单金额")
    private BigDecimal orderMoney;

    /** 付款链接 */
    @Excel(name = "付款链接")
    private String payUrl;

    /** 支付方式 */
    @Excel(name = "支付方式")
    private Long payWay;

    /** 定金金额 */
    @Excel(name = "定金金额")
    private BigDecimal earnestMoney;

    /** 尾款金额 */
    @Excel(name = "尾款金额")
    private BigDecimal finalMoney;

    /** 订单支付时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "订单支付时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date payTime;

    /** 对接客服 */
    @Excel(name = "对接客服")
    private Long abutmentCustomer;

    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }
    public void setOrderNum(String orderNum) 
    {
        this.orderNum = orderNum;
    }

    public String getOrderNum() 
    {
        return orderNum;
    }
    public void setOrderName(String orderName) 
    {
        this.orderName = orderName;
    }

    public String getOrderName() 
    {
        return orderName;
    }
    public void setOrderPhone(String orderPhone) 
    {
        this.orderPhone = orderPhone;
    }

    public String getOrderPhone() 
    {
        return orderPhone;
    }
    public void setOrderStatus(String orderStatus) 
    {
        this.orderStatus = orderStatus;
    }

    public String getOrderStatus() 
    {
        return orderStatus;
    }
    public void setOrderMoney(BigDecimal orderMoney) 
    {
        this.orderMoney = orderMoney;
    }

    public BigDecimal getOrderMoney() 
    {
        return orderMoney;
    }
    public void setPayUrl(String payUrl) 
    {
        this.payUrl = payUrl;
    }

    public String getPayUrl() 
    {
        return payUrl;
    }
    public void setPayWay(Long payWay) 
    {
        this.payWay = payWay;
    }

    public Long getPayWay() 
    {
        return payWay;
    }
    public void setEarnestMoney(BigDecimal earnestMoney) 
    {
        this.earnestMoney = earnestMoney;
    }

    public BigDecimal getEarnestMoney() 
    {
        return earnestMoney;
    }
    public void setFinalMoney(BigDecimal finalMoney) 
    {
        this.finalMoney = finalMoney;
    }

    public BigDecimal getFinalMoney() 
    {
        return finalMoney;
    }
    public void setPayTime(Date payTime) 
    {
        this.payTime = payTime;
    }

    public Date getPayTime() 
    {
        return payTime;
    }
    public void setAbutmentCustomer(Long abutmentCustomer) 
    {
        this.abutmentCustomer = abutmentCustomer;
    }

    public Long getAbutmentCustomer() 
    {
        return abutmentCustomer;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orderId", getOrderId())
            .append("orderNum", getOrderNum())
            .append("orderName", getOrderName())
            .append("orderPhone", getOrderPhone())
            .append("orderStatus", getOrderStatus())
            .append("orderMoney", getOrderMoney())
            .append("payUrl", getPayUrl())
            .append("payWay", getPayWay())
            .append("earnestMoney", getEarnestMoney())
            .append("finalMoney", getFinalMoney())
            .append("createTime", getCreateTime())
            .append("payTime", getPayTime())
            .append("abutmentCustomer", getAbutmentCustomer())
            .toString();
    }
}
